package hcn.request.bean;

import lombok.ToString;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * @program: 3.4.02
 * @description: 病历质控提醒整改his
 * @author: zangsf
 * @create: 2021-08-29 19:23
 **/
@ToString
@XmlRootElement(name = "MsgBody")
public class CaseInfoRemindChangeHisBean implements Serializable {
    private String VisitId;
    private String HospizationId;
    private String Organization;
    private String SourcePatientId;
    private String RectificationType;
    private String RectificationRemark;
    private List<RectificationList> RectificationLists;

    @XmlElement(name = "VisitId")
    public String getVisitId() {
        return VisitId;
    }

    public void setVisitId(String visitId) {
        VisitId = visitId;
    }

    @XmlElement(name = "HospizationId")
    public String getHospizationId() {
        return HospizationId;
    }

    public void setHospizationId(String hospizationId) {
        HospizationId = hospizationId;
    }

    @XmlElement(name = "Organization")
    public String getOrganization() {
        return Organization;
    }

    public void setOrganization(String organization) {
        Organization = organization;
    }

    @XmlElement(name = "SourcePatientId")
    public String getSourcePatientId() {
        return SourcePatientId;
    }

    public void setSourcePatientId(String sourcePatientId) {
        SourcePatientId = sourcePatientId;
    }

    @XmlElement(name = "RectificationType")
    public String getRectificationType() {
        return RectificationType;
    }

    public void setRectificationType(String rectificationType) {
        RectificationType = rectificationType;
    }

    @XmlElement(name = "RectificationRemark")
    public String getRectificationRemark() {
        return RectificationRemark;
    }

    public void setRectificationRemark(String rectificationRemark) {
        RectificationRemark = rectificationRemark;
    }

    @XmlElementWrapper(name = "RectificationLists")
    @XmlElement(name = "RectificationList")
    public List<RectificationList> getRectificationLists() {
        return RectificationLists;
    }

    public void setRectificationLists(List<RectificationList> rectificationLists) {
        RectificationLists = rectificationLists;
    }

    @ToString
    public static class RectificationList {
        private String medicalRecordId;
        private String medicalRecordName;
        private List<RectificationItemList> rectificationItemLists;

        @XmlElement(name = "MedicalRecordId")
        public String getMedicalRecordId() {
            return medicalRecordId;
        }

        public void setMedicalRecordId(String medicalRecordId) {
            this.medicalRecordId = medicalRecordId;
        }

        @XmlElement(name = "MedicalRecordName")
        public String getMedicalRecordName() {
            return medicalRecordName;
        }

        public void setMedicalRecordName(String medicalRecordName) {
            this.medicalRecordName = medicalRecordName;
        }


        @XmlElementWrapper(name = "RectificationItemLists")
        @XmlElement(name = "RectificationItemList")
        public List<RectificationItemList> getRectificationItemLists() {
            return rectificationItemLists;
        }

        public void setRectificationItemLists(List<RectificationItemList> rectificationItemLists) {
            this.rectificationItemLists = rectificationItemLists;
        }

        @ToString
        public static class RectificationItemList {
            private String rectificationItemName;
            private String rectificationItemRemark;
            private String rectificationItemNotice;

            @XmlElement(name = "RectificationItemName")
            public String getRectificationItemName() {
                return rectificationItemName;
            }

            public void setRectificationItemName(String rectificationItemName) {
                this.rectificationItemName = rectificationItemName;
            }

            @XmlElement(name = "RectificationItemRemark")
            public String getRectificationItemRemark() {
                return rectificationItemRemark;
            }

            public void setRectificationItemRemark(String rectificationItemRemark) {
                this.rectificationItemRemark = rectificationItemRemark;
            }

            @XmlElement(name = "RectificationItemNotice")
            public String getRectificationItemNotice() {
                return rectificationItemNotice;
            }

            public void setRectificationItemNotice(String rectificationItemNotice) {
                this.rectificationItemNotice = rectificationItemNotice;
            }
        }
    }
}
